package models

import (
	"gorm.io/gorm"
)

type User struct {
	Username string `gorm:"type:varchar(50)"json:"username"`
	Password string `gorm:"type:varchar(60)"json:"password"`
}
type Doctor struct {
	gorm.Model
	Name string `gorm:"type:varchar(30)"json:"name"`
	Tel  string `gorm:"type:char(11)"json:"tel"`
	Yy   string `gorm:"type:varchar(30)"json:"yy"`
	Ks   string `gorm:"type:varchar(40)"json:"ks"`
	Zc   string `gorm:"type:varchar(50)"json:"zc"`
	Time string `gorm:"type:datetime"json:"time"`
	Zt   string `gorm:"type:varchar(40)"json:"zt"`
	Fw   string `gorm:"type:varchar(30)"json:"fw"`
	Fs   string `gorm:"type:varchar(20)"json:"fs"`
}
